import os
import time

ret = os.fork()
if ret == 0:
  while True:
    print('---1---')
    time.sleep(10)
else:
  while True:
    print('---2---')  
    time.sleep(10)
